package com.summer.shopping.service;

import com.summer.shopping.domain.dto.PageDto;
import com.summer.shopping.domain.table.Bag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.summer.shopping.domain.table.Quan;
import com.summer.shopping.domain.vo.QuanVO;
import com.summer.shopping.domain.vo.QuanVOComposite;
import com.summer.shopping.enums.bag.BagGoodsTypeConstant;

import java.util.List;

/**
* @author 86136
* @description 针对表【bag(背包表)】的数据库操作Service
* @createDate 2025-06-22 10:57:56
*/
public interface BagService extends IService<Bag> {

    void addOneQuan(Long userId, String bagGoodsTypeConstant, Long goodsId,Integer expireDays);
    public List<Bag> getAllMyBag(Long userId);

    public List<Bag> getMyBag(Long userId, PageDto pageDto);

    public QuanVOComposite getMyQuan(Long userId, PageDto pageDto);

}
